package com.darwin.darwinNet.events
{
	import flash.events.Event;
	
	/**
	 * 通讯事件类 
	 * @author vanCopper
	 * 
	 */	
	public class NetEvent extends Event
	{
		public var data:Object;
		public var key:String = "";
		public function NetEvent(type:String,data:Object=null)
		{
			super(type, false, false);
			this.data = data;
		}
		
		/**
		 * 网络请求完成 
		 */		
		public static const NET_COMPLETE:String = "net_complete";
		
		public static const NET_FSOCKET_CLOSE:String = "net_fsocket_close";
		
	}
}